home *** CD-ROM | disk | FTP | other *** search
-
- In article <4ico6c$bki@love.goodnews.net> bruggmnt%/etc/HOSTNAME (Thom Bruggeman) writes:
- >
- > Is it possible to mount a device like CD:4 as localhost in Amosaic??
- > I have an IBM/ MAC cdrom with HTML links but I can't get Amosaic to
- > see it as localhost. I can use "open local" to access the documents
- > but then any addtional links use "localhost" as part of the path and
- > then Amosaic cannot find the "URL file://localhost/(filename)" .
- >
- > I usually get, "file://localhost/(filename) not found" or
- > some such thing .... I have to put the device name in the path,
- >
- > file://localhost/cd4:(filename)
- >
- > or
- >
- > file://localhost/cd4:htmldocs/(filename)
- >
- > in order to get Amosaic to find the file.
- >
- >
- > I thought that it may be a problem with the AmiTCP but I'm
- > not sure??? Any Ideas??
- >
-
-
- What you've got should work, if you've got the right text for the
- system's route to the file. Here is what my installation of Mosaic
- uses for its default home page and hotlist (from env:mosaic/prefs):
-
- HomeDocument file://localhost/User:InternetApps/Mosaic-1.2-docs/amosaic.html
- RexxMacro2 Jump to Hotlist | "'jump url file://localhost/env:Mosaic/hotlist.html'"
-
- This works just fine for me. (That's with AMosaic 2.0).
-
- Here's some things I found with SnoopDos and AMosaic, with a loopback
- network only.
-
- 1. The way the file system's path and name are interpreted is sort of
- like Unix. Specifically, if you say file://localhost/foo, Mosaic
- starts at the directory it was started from (the current directory if
- you started it from a shell, or the program's directory if you started
- it from the icon). From that directory, it looks up /foo as the file
- name. In Unix, that would mean the root, and file foo at the root.
- But to the Amiga it means the file foo in the parent directory. So
- you probably won't get what you expect.
-
- 2. If you use file://localhost/s:startup-sequence Mosaic goes straight
- to the file system. It seems to make a special case of
- file://localhost. If that fails, it tries an FTP connection to
- "localhost" with the usual host name look up.
-
- 3. For me, file://localhost/foo:bar works just fine whether foo is a
- device name like HD0:, a disk label like "Workbench:" or an assignment
- like "s:". It even works for "CON:"
-
- SnoopDOS would be a very useful tool to help you troubleshoot this
- problem. I strongly recommend it.
-
- If it helps, here is my env:mosaic/prefs file:
-
- HomeDocument file://localhost/User:InternetApps/Mosaic-1.2-docs/amosaic.html
- DownloadDir User:Downloads/Internet/World Wide Web/
- ImageCacheSize 500
- DelayImageLoads true
- Font CGTimes/13
- ItalicFont CGTimes/13/italic
- BoldFont CGTimes/13/bold
- FixedFont topaz/11
- AddressFont topaz/11
- PlainFont grn/8
- H1Font CGTimes/24
- H2Font CGTimes/20
- H3Font CGTimes/18
- H4Font CGTimes/15
- H5Font CGTimes/13
- H6Font CGTimes/11
- RexxMacro1 Add to Hotlist | add-hotlist
- RexxMacro2 Jump to Hotlist | "'jump url file://localhost/env:Mosaic/hotlist.html'"
- TempDir Ram:t/
- Home User:
-
- --
- Scott Norton
- Norton@ACM.org
- Defense Technology, Inc.
- 2920 South Glebe Road
- Arlington VA 22206
- +1-703-299-1656, fax: +1-703-706-0476
-